package Employee;

public class Employer {
    public static void main(String[] args) {
        CommonEmployee e1 = new CommonEmployee();
        CommonEmployee e2 = new CommonEmployee();
        e1.setName("Jack");
        e1.setId(1);
        e1.setSalary(2000);
        e2.setName("Tom");
        e2.setId(2);
        e2.setSalary(1000);

        System.out.println(e1.getName());
        System.out.println(e1.getId());
        System.out.println(e1.getSalary());
        System.out.println(e2.getName());
        System.out.println(e2.getId());
        System.out.println(e2.getSalary());
        //e1.getId();
        //e1.getSalary();
        //e2.getName();
        //e2.getId();
        //e2.getSalary();


    }
}
